/**
 * ...
 * @author Thot
 */

function RemoveLayerCommand(){}; 
POO.extend( RemoveLayerCommand, Command );



RemoveLayerCommand.prototype.execute = function( p_notificationType, p_data )
{
	var facade = ApplicationFacade.getInstance();
	var appProxy = facade.getProxy( ApplicationProxy.NAME );
	var mapProxy = facade.getProxy( MapProxy.NAME );
	var vo = mapProxy.getMapVOById(appProxy.currentMap);
	vo.removeLayerVOById( appProxy.currentLayer );
};